# (c) 2008 by Florina Nacu < florina@omnidatagrup.ro >

project(Foaie)

include_directories(BEFORE "${CMAKE_SOURCE_DIR}/libs")

set(Foaie_SRCS foaieplugin.cpp foaie.cpp)
QT4_WRAP_CPP(Foaie_SRCS foaieplugin.h foaie.h)
QT4_WRAP_UI(Foaie_SRCS foaie.ui)
QT4_ADD_RESOURCES(Foaie_SRCS foaie.qrc)

add_library(Foaie SHARED ${Foaie_SRCS})
add_dependencies(Foaie KontAMabil)
link_directories( "${CMAKE_SOURCE_DIR}/libs" )
target_link_libraries(Foaie KontAMabil ${QT_LIBRARIES})

install(TARGETS Foaie ${INSTALL_PLUGINS_DEFAULT_ARGS})
